import {
  MenuFoldOutlined,
  MenuUnfoldOutlined,
  UploadOutlined,
  VideoCameraOutlined,
  DownOutlined,
  SmileTwoTone,
} from "@ant-design/icons";
const config = {
  normal: {
    "/": {
      view: { value: true, title: "浏览" },
      title: "首页",
    },
    "/userlist": {
      view: { value: true, title: "浏览" },
      add: { value: false, title: "添加" },
      del: { value: false, title: "删除" },
      update: { value: false, title: "更新" },
      title: "用户管理",
    },
    "/memberlist": {
      view: { value: true, title: "浏览" },
      title: "会员管理",
    },
    "/commodityManage": {
      view: { value: true, title: "浏览" },
      add: { value: false, title: "添加" },
      del: { value: false, title: "删除" },
      update: { value: false, title: "更新" },
      title: "商品管理",
    },
    "/order": {
      view: { value: true, title: "浏览" },
      update: { value: true, title: "更新" },
      title: "订单管理",
    },
    "/roleset": {
      view: { value: true, title: "浏览" },
      add: { value: false, title: "添加" },
      del: { value: false, title: "删除" },
      update: { value: false, title: "更新" },
      title: "角色配置",
    },
  },
  admin: {
    "/": {
      view: { value: true, title: "浏览" },
      title: "首页",
    },
    "/userlist": {
      view: { value: true, title: "浏览" },
      add: { value: true, title: "添加" },
      del: { value: true, title: "删除" },
      update: { value: true, title: "更新" },
      title: "用户管理",
    },
    "/memberlist": {
      view: { value: true, title: "浏览" },
      title: "会员管理",
    },
    "/commodityManage": {
      view: { value: true, title: "浏览" },
      add: { value: true, title: "添加" },
      del: { value: true, title: "删除" },
      update: { value: true, title: "更新" },
      title: "商品管理",
    },
    "/order": {
      view: { value: true, title: "浏览" },
      update: { value: true, title: "更新" },
      title: "订单管理",
    },
    "/roleset": {
      view: { value: true, title: "浏览" },
      add: { value: true, title: "添加" },
      del: { value: true, title: "删除" },
      update: { value: true, title: "更新" },
      title: "角色配置",
    },
  },
};
export default config;
